package com.slmxz.tms.common.enums;


import lombok.Getter;

/**
 * @Author：albert
 * @Date：2024/9/20 21:51
 */
@Getter
public enum TableEnum {
    TABLE_DEPT("tb:sys:dept:","部门表"),
    TABLE_COMPANY("tb:sys:company:","公司表"),
    TABLE_ROLE("tb:sys:role:","角色表"),
    TABLE_USER("tb:sys:user:","用户表"),
    TABLE_MENU("tb:sys:menu:","菜单表"),
    TABLE_DICT("tb:sys:dict:","字典表"),
    TABLE_LOG("tb:sys:log:","日志表"),

    TABLE_TRUCK("tb:document:truck:","车辆表"),
    TABLE_DRIVER("tb:document:driver:","司机表"),
    TABLE_DRIVER_TRUCK("tb:document:driver:truck:","司机下面的车辆表"),

    TABLE_ORDER("tb:biz:order:","订单表"),
    TABLE_ORDER_CARGO("tb:biz:order:cargo:","订单货物表"),
    TABLE_ORDER_LOCATION("tb:biz:order:location:","订单地址表"),
    TABLE_ORDER_LIFECYCLE("tb:biz:order:lifecycle:","订单生命周期表"),
    TABLE_DISPATCH("tb:biz:dispatch:","调度计划表"),
    ;

    private final String tableName;

    private final String desc;
    private TableEnum(String tableName, String desc){
        this.tableName = tableName;
        this.desc = desc;
    }
}
